const imTools = require('../im-tools');

const dtStr = imTools.dataFormat(new Date())

const htmlStr = '<h1 title="abc">这是h1标签</h1>'
const str = imTools.htmlEscape(htmlStr)

console.log(str)
console.log(dtStr)